package User;

import Book.BookList;
import Operation.*;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-14
 * TIME:15:30
 */
public class normal extends user{
    public int menu(){
        System.out.println("****************");
        System.out.println("0 退出系统");
        System.out.println("1 借阅图书");
        System.out.println("2 归还图书");
        System.out.println("3 查找图书");
        System.out.println("****************");
        Scanner scanner=new Scanner(System.in);
        System.out.println("请选择你要的内容");
        int ret=scanner.nextInt();
        return ret;
    }

    public normal(String name) {
        super(name);
        this.iooperations=new Iooperation[]{
                                         new exit(),
                                         new borrow(),
                                        new return1(),
                                       new check()
        };
    }

}
